<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
		<Header>
			<Title>cmd</Title>
			<Shortcut>cmd</Shortcut>
			<Description>Prism框架下DelegateCommand代码片段</Description>
			<Author>Microsoft Corporation</Author>
			<SnippetTypes>
				<SnippetType>Expansion</SnippetType>
			</SnippetTypes>
		</Header>
		<Snippet>
			<Declarations>
				<Literal>
					<ID>CommandType</ID>
					<ToolTip>属性类型</ToolTip>
					<Default>DelegateCommand&lt;object&gt;</Default>
				</Literal>
				<Literal>
					<ID>CommandName</ID>
					<ToolTip>属性名</ToolTip>
					<Default>CmdDefault</Default>
				</Literal>
				<Literal>
					<ID>field</ID>
					<ToolTip>支持此属性的变量</ToolTip>
					<Default>_cmdDefault</Default>
				</Literal>
			</Declarations>
			<Code Language="csharp">
			
			<![CDATA[private $CommandType$ $field$;
 public $CommandType$ $CommandName$ => $field$ ??= new $CommandType$((param) =>
 {

 });]]> 
			</Code>
		</Snippet>
	</CodeSnippet>
</CodeSnippets>
